package com.dudu.service.impl;

import java.util.List;

import net.sf.json.JSONObject;

import com.dudu.dao.DataCompleteDao;
import com.dudu.service.IDataCompleteService;

import core.CoreDao;
import core.CoreDaoInvoke;


public class DataCompleteServiceImpl implements IDataCompleteService {
	//private static final Logger log =  core.util.Logger.getLogger(DataCompleteServiceImpl.class.getSimpleName());
	//持久层操作类
	private DataCompleteDao dataCompleteDao = new DataCompleteDao();
	private CoreDao coreDao=CoreDaoInvoke.getInstance();
	
	@Override
	public List<JSONObject> queryStatusAmounts(String beginTime, String endTime) {
		return dataCompleteDao.queryStatusAmounts(coreDao, beginTime, endTime);
	}
	
	@Override
	public List<JSONObject> queryBillAmounts(String beginTime, String endTime) {
		return dataCompleteDao.queryBillAmounts(coreDao, beginTime, endTime);
	}
	
	@Override
	public List<JSONObject> queryVoiceDelayAmounts(String beginTime, String endTime) {
		return dataCompleteDao.queryVoiceDelayAmounts(coreDao, beginTime, endTime);
	}
	
}
